<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .yeye{
            width: 500px;
            height: 500px;
            background-color: blue;
            position: absolute;
            margin-top: 200px;
        }
        .father{
            width: 200px;
            height: 200px;
            background-color: black;

            margin-top: 100px;
            /* position: absolute; */
            
        }
        .child{
            width: 100px;
            height: 100px;
            background-color: red;
            position: absolute;
            top: 0px;
            left: 0px;
        }
    </style>
</head>
<body>
    <div class="yeye">
        <div class="father">

            <div class="child"></div>
        </div>
    </div>
    
    
</body>
</html>